from amazondatas.models import SKU
from orders.models import OrderItem

from rest_framework import serializers


class OrderItemForSKUSerializer(serializers.ModelSerializer):
    class Meta:
        model = OrderItem
        fields = ['id', 'ASIN', 'Order']


class SKUSerializer(serializers.ModelSerializer):
    class Meta:
        model = SKU
        fields = "__all__"
